package instrarbre;

import exprarbre.ASAExpr;
import java.util.HashMap;

public class ASAInstrExpr extends ASAInstr {

    private ASAExpr expression;

    public ASAInstrExpr(ASAExpr expression) {
        this.expression = expression;
    }

    @Override
    public void interpreter(HashMap<String, Integer> affectation) {
        if (expression != null) {
            expression.evalue(affectation);
        }
    }
}